<template>
  <div class="pc-list-demo">
    <pc-list :items="data"/>
  </div>
</template>

<script lang="ts" setup>
const data: string[] = []

const getList = () => {
  for (let i = 0; i <= 10000; i++) {
    data.push(`我是第${i + 1}条数据`);
  }
};

getList()
</script>

<style scoped>
.pc-list-demo {
  width: 100%;
  height: 260px;
}
</style>